package com.biz.primus.account.feign;

import com.biz.primus.base.exception.BizCheckedException;
import com.biz.primus.model.sso.account.vo.UserResVo;
import org.springframework.stereotype.Component;

/**
 * Created by younger on 17/11/3.
 */
@Component
public class AccountDegradedFeignClient implements AccountFeignClient {


    @Override
    public UserResVo getUserResVoById(String userUnionId) throws BizCheckedException {
        UserResVo userResVo = new UserResVo();
        userResVo.setUsername("developer");
        userResVo.setName("开发默认用户");
        return userResVo;
    }
}
